cmake_minimum_required(VERSION 3.0.2)
project(start_launch_pkg)

find_package(catkin REQUIRED COMPONENTS
  roscpp
  rospy
  std_msgs
)
# 查找 Python3
find_package(Python3 REQUIRED)  # 添加对 Python3 的查找
catkin_package(
  CATKIN_DEPENDS roscpp rospy std_msgs 
  # orbbec_camera galaxy_camera act communicator
)

include_directories(
  ${catkin_INCLUDE_DIRS}
  ${NUMPY_INCLUDE_DIR}
  ${Python3_INCLUDE_DIRS}  # 添加 Python3 的头文件路径
)

install(DIRECTORY launch/
  DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
)

# catkin_install_python(PROGRAMS
#     ~/engineering-imitation-learning/src/act/script/inference.py
#     ~/engineering-imitation-learning/src/communicator/scripts/sim_puppet.py
#   DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )